package com.education.basic.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.yunshangwoniu.core.AbstractEntity;

/**
 * 教师员工表
 * @author 云上蜗牛
 */
@Entity
@Table(name="Teacher")
public class Teacher extends AbstractEntity
{
	private static final long serialVersionUID = 6062752668326835917L;
	private String username;			//用户名
	private String password;			//密码
	
	private String empno;				//职工号
	private String name;				//姓名
	private String gender;				//性别
	private String email;				//邮箱
	private String telephone;			//电话
	private String detailAddress;		//家庭详细地址
	private long departmentId;			//隶属院系ID
	private String departmentName;		//隶属院系名
	private String titleCode;			//职称编号
	private String titleName;			//职称名
	private String headerUrl;			//头像URL链接
	private String note;				//备注
	private int rank;					//在同一类中的编号
	

	public String getUsername()
	{
		return username;
	}

	public void setUsername(String username)
	{
		this.username = username;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}


	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getGender()
	{
		return gender;
	}

	public void setGender(String gender)
	{
		this.gender = gender;
	}

	public String getEmail()
	{
		return email;
	}

	public void setEmail(String email)
	{
		this.email = email;
	}

	public String getTelephone()
	{
		return telephone;
	}

	public void setTelephone(String telephone)
	{
		this.telephone = telephone;
	}

	public String getDetailAddress()
	{
		return detailAddress;
	}

	public void setDetailAddress(String detailAddress)
	{
		this.detailAddress = detailAddress;
	}

	public long getDepartmentId()
	{
		return departmentId;
	}

	public void setDepartmentId(long departmentId)
	{
		this.departmentId = departmentId;
	}

	

	public String getDepartmentName()
	{
		return departmentName;
	}

	public void setDepartmentName(String departmentName)
	{
		this.departmentName = departmentName;
	}

	public String getEmpno()
	{
		return empno;
	}

	public void setEmpno(String empno)
	{
		this.empno = empno;
	}

	public String getTitleCode()
	{
		return titleCode;
	}

	public void setTitleCode(String titleCode)
	{
		this.titleCode = titleCode;
	}

	public String getTitleName()
	{
		return titleName;
	}

	public void setTitleName(String titleName)
	{
		this.titleName = titleName;
	}

	public String getHeaderUrl()
	{
		return headerUrl;
	}

	public void setHeaderUrl(String headerUrl)
	{
		this.headerUrl = headerUrl;
	}

	public String getNote()
	{
		return note;
	}

	public void setNote(String note)
	{
		this.note = note;
	}

	public int getRank()
	{
		return rank;
	}

	public void setRank(int rank)
	{
		this.rank = rank;
	}
	
	
}
